<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="__CSS__/lib/normalize.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/mui-3.6.1.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/search.css" />
    <title>搜索</title>
</head>

<body>
    <form id="form" action='/Wx/Search/shopGoodsSearch?shop_id={$shop_id}' onsubmit="return getLog()">
        <input type="hidden" name="shop_id" value="{$shop_id}">
        <input type="hidden" name="bid" id="bid" value="0" />
        <input type="hidden" name="sorts" id="sorts" value="smart" />
        <input type="hidden" name="sales" id="sales" value="0" />
        <input type="hidden" name="page" id="page" value="0" />
        <div class="mui-content">
            <div class="top-bar mui-row">

                <a class="return mui-col-sm-2 mui-col-xs-2" href="{$ref}" ></a>
                <div class="top-middle mui-col-sm-8 mui-col-xs-8">
                    <div class="s-top-middle">
                        <!-- <a href="#popover" id="openPopover">商品</a> -->
                        <input style="width:100%" type="search" name="key" placeholder="输入商品名称" onfocus="this.placeholder=''" onblur="this.placeholder='输入商家、商品名称'" />
                    </div>
                </div>
                <input style="border:none; background: none;" type="submit" value="搜索" class="top-right mui-col-sm-2 mui-col-xs-2" />
                <!-- <div class="top-right mui-col-sm-2 mui-col-xs-2" onclick="getLog();">搜索</div> -->
            </div>
        </div>
    </form>

    <div id="popover" class="mui-popover">
        <ul class="mui-table-view">
            <li class="mui-table-view-cell " ><a href="#" data-type="goods"><img class="baobei" src='__IMG__/../fonts/baobei.svg'/>商品</a></li>
            <li class="mui-table-view-cell"><a href="#" data-type="shops"><img class="baobei" src='__IMG__/../fonts/shangjia.svg'/>店铺</a></li>
        </ul>
    </div>

    <div class="log">历史搜索<span class="trash"></span></div>
    <div id="searchHistory" class="tel mui-input-row">
        <!-- <div class="cls">弹鱼滋味(爱淘金店)</div>
        <div class="cls">弹鱼滋味</div>
        <div class="cls">潮州牛肉</div>
        <div class="cls">肠粉</div> -->
    </div>

    <script type="text/javascript" src="__JS__/mui.js"></script>
    <script type="text/javascript" src="__JS__/jquery2.1.1.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery.cookie.js"></script>
    <script type="text/javascript" src="__JS__/search.js"></script>

</body>

</html>
